- form_for(@billing_credit_card) do |f|
= f.error_messages
- if @billing_credit_card.id.nil?
%p
  = f.label :billing_profile_id
  %br
  = f.collection_select(:billing_profile_id, @billing_profiles, :id, :id, {:include_blank => true})
- end
/
  <p>
  <haml:loud> f.label :billing_profile_id </haml:loud><br />
  <haml:loud> f.text_field :billing_profile_id </haml:loud>
  </p>
/
  <p>
  <haml:loud> f.label :status </haml:loud><br />
  <haml:loud> f.text_field :status </haml:loud>
  </p>
/
  <p>
  <haml:loud> f.label :kind </haml:loud><br />
  <haml:loud> f.text_field :kind </haml:loud>
  </p>
/
  <p>
  <haml:loud> f.label :customer_payment_id </haml:loud><br />
  <haml:loud> f.text_field :customer_payment_id </haml:loud>
  </p>
%p
  = f.label :first_name
  %br
  = f.text_field :first_name, :value => "first_name"
%p
  = f.label :last_name
  %br
  = f.text_field :last_name, :value => "last_name"
%p
  = f.label :card_number
  %br
  = f.text_field :card_number
%p
  = f.label :card_type
  %br
  = f.text_field :card_type
%p
  = f.label :card_verification
  %br
  = f.text_field :card_verification, :value => "123"
%p
  = f.label :account_primary
  %br
  = f.text_field :account_primary
%p
  = f.label :expires_at_month
  %br
  = f.select :expires_at_month, (1..12).collect, :include_blank => true
%p
  = f.label :expires_at_year
  %br
  = f.select :expires_at_year, (Date.today.year..Date.today.year+10).collect, :include_blank => true
%p
  = f.label :zipcode
  %br
  = f.text_field :zipcode
%p
  = f.submit 'Update'
- end
